<%--
  - Author(s): Schalk Neethling
  - Date: 20/04/2006
  - Copyright Notice: GNU Public License
  - @(#) add_competition.jsp
  - Description: Add a new competition to the competition module.
--%>
<%@ include file="/application/includes/template/app_header.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Add New Competition : AlliedBridge</title>
	<%@ include file="/application/includes/template/html_header.jsp" %>
</head>

<body>
<c:import url="/application/includes/template/header.jsp" />
<c:import url="/application/includes/template/main_nav.jsp" />
<h1>Add a new competition</h1>
	<form action="process.addCompetition" name="add_comp" id="add_comp" method="post" enctype="multipart/form-data">
    	<fieldset>
        <legend>Competition Details</legend>
        	<label for="series">Series:</label><br />
            <!-- Need to add a select drop down. -->

            <label for="level_status">Level Status:</label><br />
            <!-- Drop-Down? -->

           <label for="comp_name">Competition Name:</label><br />
           <input type="text" name="comp_name" id="comp_name" size="35" />

           <label for="comp_short_name">Competition Short Name:</label><br />
           <!-- How am I going to handle this and where is it used? -->
		</fieldset>
        <fieldset>
        <legend>Venue Information</legend>
           <label for="town">Town:</label><br />
           <input type="text" name="town" id="town" size="35" />

           <label for="venue">Venue:</label><br />
           <input type="text" name="venue" id="venue" size="35" />

           <label for="region">Region:</label><br />
           <!-- Select dropdown loaded from AlliedBridge resource db -->

           <label for="start_date">Start Date:</label><br />
           <!-- Schalk Neethling : Need to add a calendar pop-up : Must be unobtrusive -->
           <input type="text" name="start_date" id="start_date" size="35" />

           <label for="end_date">End Date:</label><br />
           <!-- Schalk Neethling : Need to add a calendar pop-up : Must be unobtrusive -->
           <input type="text" name="end_date" id="end_date" size="35" />
                   
           <label for="start_time">Start Time:</label><br />
           <!-- Schalk Neethling : Need to add a time pop-up : Must be unobtrusive -->
           <input type="text" name="start_time" id="start_time" size="35" />
                    
           <label for="end_date">End Time:</label><br />
           <!-- Schalk Neethling : Need to add a time pop-up : Must be unobtrusive -->
           <input type="text" name="end_time" id="end_time" size="35" />
		</fieldset>
        <fieldset>
        <legend>Upload Competition Media</legend>
			<label for="comp_logo">Competition logo:</label><br />
			<input name="comp_logo" type="file" id="comp_logo" size="35" />
					
			<label for="lb_comp_logo">Leaderboard logo:</label><br />
			<input name="lb_comp_logo" type="file" id="lb_comp_logo" size="35" />
					
			<label for="entry_form">Entry Form:</label><br />
			<input name="entry_form" type="file" id="entry_form" size="35" />
		</fieldset>
			<input name="submit" type="button" id="submit" value="Create Competition" />
</form>
<c:import url="../../includes/template/footer.jsp" />
</body>
</html>